﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ASmile.CodeFactory.DaBLL.Builder
{
    public class M_Proc
    {
        public string ProcName { set; get; }

        public string ProcCaption { set; get; }

        public string ProcType { get; internal set; }
    }

    public class M_ProcParam
    {
        /// <summary>
        /// 参数索引顺序
        /// </summary>
        public int ParamIndex { set; get; }
        /// <summary>
        /// 参数名
        /// </summary>
        public string ParamName { set; get; }
        /// <summary>
        /// 存储过程参数说明
        /// </summary>
        public string ParamCaption { set; get; }
        /// <summary>
        /// 参数输出类型,In,InOut
        /// </summary>
        public string ParamOutType { set; get; }
        /// <summary>
        /// 数据类型,SQLServer
        /// </summary>
        public string ParamDataType { set; get; }
        /// <summary>
        /// 数据类型 c#
        /// </summary>
        public string CSharpDataType { set; get; }
        /// <summary>
        /// 参数长度,如varchar(50)则返回50
        /// </summary>
        public int ParamLength { set; get; }
    }
}